const Router=require('koa-router');
const router=new Router();
const query=require("../db/mysql");
const {getList,addList,editList,delList}=require('../controller/list');
//获取列表接口
router.get('/blog/list',getList);
router.get('/blog/list',addList);
router.get('/blog/list',editList);
router.get('/blog/list/:id',delList);


module.exports = router
